package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账户管理对象 sys_account
 * 
 * @author fengzy
 * @date 2022-04-10
 */
public class SysAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账户编号 */
    @Excel(name = "账户编号")
    private Long accountId;

    /** 罪犯编号 */
    @Excel(name = "罪犯编号")
    private Long userId;

    /** 罪犯姓名 */
    @Excel(name = "罪犯姓名")
    private String userName;

    /** 账号余额 */
    @Excel(name = "账号余额")
    private Long accountBalance;

    /** 账户总金额 */
    @Excel(name = "账户总金额")
    private Long accountTotalMoney;

    /** 冻结金额 */
    @Excel(name = "冻结金额")
    private Long accountFreeze;

    /** 删除标志 */
    private String delFlag;

    public void setAccountId(Long accountId) 
    {
        this.accountId = accountId;
    }

    public Long getAccountId() 
    {
        return accountId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setAccountBalance(Long accountBalance) 
    {
        this.accountBalance = accountBalance;
    }

    public Long getAccountBalance() 
    {
        return accountBalance;
    }
    public void setAccountTotalMoney(Long accountTotalMoney) 
    {
        this.accountTotalMoney = accountTotalMoney;
    }

    public Long getAccountTotalMoney() 
    {
        return accountTotalMoney;
    }
    public void setAccountFreeze(Long accountFreeze) 
    {
        this.accountFreeze = accountFreeze;
    }

    public Long getAccountFreeze() 
    {
        return accountFreeze;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("accountId", getAccountId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("accountBalance", getAccountBalance())
            .append("accountTotalMoney", getAccountTotalMoney())
            .append("accountFreeze", getAccountFreeze())
            .append("delFlag", getDelFlag())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
